def add(a, b):
    return a + b


def sub(a, b):
    return a - b


def mul(a, b):
    return a * b


def test(a, b, c):
    p = add(a, b)
    q = sub(c, b)
    r = mul(p, q)
    return r
